package cn.chia.service;

import java.util.List;

import cn.chia.pojo.Address;

public interface IAddressService {

	public void saveAddress(Address address) throws Exception;
	
	public void deleteAddress(int id) throws Exception;
	
	public List<Address> findAllAddress(int userid) throws Exception;
	
	public Address findByIdAndFlag(int userid, int flag) throws Exception;
	
	public Address findById(int addrId) throws Exception;
	
	public void updateAddress(Address addr) throws Exception;
	
	
}
